/*
Jack Morris
11/20/14
Chapter 5
Page 96
Assinment 10
*/
#include <stdio.h>

int main()
{
  int input;
  printf("Enter numerical grade: ");
  scanf("%d", &input);
  input = input/10;
  switch(input)
  {
  default:
  printf("Letter grade : F");
    break;
  case 6:
  printf("Letter grade : D");
    break; 
  case 7:
  printf("Letter grade : C");
    break;     
  case 8:
  printf("Letter grade : B");
    break; 
  case 9:
  case 10:
  printf("Letter grade : A");
    break; 
  }
}